package com.uml.umlwork.vo.clazz;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


/**
 * @author 少枫
 * @date 2021/1/5
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@ApiModel("班级信息及负责的培训师姓名VO")
public class ClassTeacherVO {

    @ApiModelProperty("id")
    protected Integer id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("开班时间")
    private LocalDateTime startDate;

    @ApiModelProperty("培训信息是否已发布")
    private Boolean isAnnounce;

    @ApiModelProperty("课程ID")
    private Integer courseId;

    @ApiModelProperty("培训师ID")
    private Integer teacherId;

    @ApiModelProperty("培训师姓名")
    private String teacherName;

}
